package com.ruoyi.education.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 学生评价对象 t_evaluate
 * 
 * @author imachen
 * @date 2022-10-25
 */
public class Evaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 老师名 */
    @Excel(name = "老师名")
    private String teacherName;

    /** 学生名 */
    @Excel(name = "学生名")
    private String studentName;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date procesTime;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private Integer problemType;

    /** 评价 */
    @Excel(name = "评价")
    private String detail;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setProcesTime(Date procesTime) 
    {
        this.procesTime = procesTime;
    }

    public Date getProcesTime() 
    {
        return procesTime;
    }
    public void setProblemType(Integer problemType) 
    {
        this.problemType = problemType;
    }

    public Integer getProblemType() 
    {
        return problemType;
    }
    public void setDetail(String detail) 
    {
        this.detail = detail;
    }

    public String getDetail() 
    {
        return detail;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teacherName", getTeacherName())
            .append("studentName", getStudentName())
            .append("procesTime", getProcesTime())
            .append("problemType", getProblemType())
            .append("detail", getDetail())
            .toString();
    }
}
